package main.resources.model.entity.moodle;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;


/**
 * The persistent class for the mdl_chat database table.
 * 
 */
@Entity
@Table(name="mdl_chat")
public class MdlChat implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigInteger chattime;

	private BigInteger course;

    @Lob()
	private String intro;

	private int introformat;

	private BigInteger keepdays;

	private String name;

	private short schedule;

	private short studentlogs;

	private BigInteger timemodified;

    public MdlChat() {
    }

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigInteger getChattime() {
		return this.chattime;
	}

	public void setChattime(BigInteger chattime) {
		this.chattime = chattime;
	}

	public BigInteger getCourse() {
		return this.course;
	}

	public void setCourse(BigInteger course) {
		this.course = course;
	}

	public String getIntro() {
		return this.intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public int getIntroformat() {
		return this.introformat;
	}

	public void setIntroformat(int introformat) {
		this.introformat = introformat;
	}

	public BigInteger getKeepdays() {
		return this.keepdays;
	}

	public void setKeepdays(BigInteger keepdays) {
		this.keepdays = keepdays;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public short getSchedule() {
		return this.schedule;
	}

	public void setSchedule(short schedule) {
		this.schedule = schedule;
	}

	public short getStudentlogs() {
		return this.studentlogs;
	}

	public void setStudentlogs(short studentlogs) {
		this.studentlogs = studentlogs;
	}

	public BigInteger getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(BigInteger timemodified) {
		this.timemodified = timemodified;
	}

	public String toString() {
		return "{id: " + this.id + "; course: " + this.course + "; name: " + this.name + "; intro: " + this.intro + "}";
	}
	
}